home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 140
/
(Vol 140) Sep 19 2011.iso
/
Games
/
world-wars.swf
/
scripts
/
__Packages
/
classes
/
Debug.as
next >
Wrap
Text File
|
2011-09-19
|
587b
|
21 lines
class classes.Debug
{
function Debug(stage)
{
this._stage = stage;
}
function showError(com)
{
this._stage.debuger.removeMovieClip();
var _loc2_ = this._stage.attachMovie("debuger","debuger",this._stage.getNextHighestDepth(),{_x:40,_y:40});
_loc2_.message.autoSize = true;
_loc2_.message.htmlText = "<b>" + com + "</b>";
_loc2_.bg._width = _loc2_.message._width + 30;
_loc2_.bg._height = _loc2_.message._height + 8;
_loc2_.onRollOver = function()
{
this.removeMovieClip();
};
}
}